package cn.cloudreal.cbms.resourceState.service;

import java.util.List;
import cn.cloudreal.cbms.common.util.PageBean;
import cn.cloudreal.cbms.vo.Mediasumm;
import cn.cloudreal.cbms.vo.ProjectMedium;
import cn.cloudreal.cbms.vo.PutInPlanMonth;
import cn.cloudreal.cbms.vo.SourcePlanYear;
import cn.cloudreal.cbms.vo.UserInfo;

/**
 * <p>
 * Title: ITC
 * </p>
 * <p>
 * Description:资源预占service层类
 * </p>
 * <p>
 * Copyright: Copyright (c) 2010
 * </p>
 * <p>
 * Company:云恒瑞通
 * </p>
 * 
 * @author 夏加冬
 * @date 2012-7-9
 */
public interface ResStateService
{
    /**
     * 查询资源预占列表
     * 
     * @return  list
     */
    public List<ProjectMedium> getProjMediums(PageBean page,ProjectMedium projectMedium);
    /**
     * 获取当前项目媒介的条数
     * @param projectMedium
     * @return
     */
    public int getcurrentCount(ProjectMedium projectMedium);
    /**
     * 获取总的项目媒介条数
     * @return
     */
    public int getsumCount(ProjectMedium projectMedium);
    /**
     * 设置项目媒介的状态
     * @param selectStrings
     */
    public void setProjectMediumStatus(String[] selectStrings,ProjectMedium projectMedium);
    /**
     * 获取用户对象
     */
    public UserInfo getUserInfo(String code);
}
